#include <stdio.h>
#include "..\List\LIST.h"

DemandProperty * ReadPropertyFromUser();
void Add_New_Property(List *PropertiesList,int *PropertiesCount);
void Show_All_Properties(List *PropertiesList,int *PropertiesCount);
void Update_Property(List *PropertiesList,int *PropertiesCount);
void Delete_Property(List *PropertiesList,int *PropertiesCount);
void Find_Property(List *PropertiesList,int *PropertiesCount);
void UpdatePropertyField(DemandProperty *D);
void UpdateByIndex(List PropertiesList,int ind);
void DeleteByIndex(List PropertiesList,int *PropertiesCount,int ind);
void ShowProperty(List PropertiesList,int *PropertiesCount,Position P,int ind,int Options);
void WritePropertiesToFile(List PropertiesList,int *PropertiesCount);
void WriteProperty(FILE *fp,Position PO);
List LoadPropertiesFromFile(int *PropertiesCount);
void FreePropertiesAllocationsBeforeExit(List PropertiesList,int *PropertiesCount);
int SelectPropertyFromUser(List PropertiesList,int *PropertiesCount);
void FillPropertyInfo(DemandProperty *D,char **BUF,int full,int ind);
void ShowOptions();
void Show_Reports_Properties_Text_File(List PropertiesList,int *PropertiesCount);
void Show_Reports_Properties_By_Name_Text_File(List PropertiesList,int *PropertiesCount);
